#ifndef NNE_MEM_MEM_IF_H_
#define NNE_MEM_MEM_IF_H_

#include "type.h"
#include "util.h"

class MemInterface{
public:
    virtual void write_mem(u64 dst, void* src, u64 length) = 0;
    virtual void read_mem(void* dst, u64 src, u64 length) = 0;
    virtual u64 get_ram_size()
    {
        CHECK_MSG(false, "can not get ram size");
        return -1;
    }
    virtual void* get_ram_pointer()
    {
        CHECK_MSG(false, "can not get ram size");
        return NULL;
    }
    virtual ~MemInterface() = default;
};








#endif
